<template>
  <div>
    <h3>女人组件</h3>
    <div>金钱：{{ $store.state.money }}</div>
    <button @click="buyli(100)">买口红-100</button>
  </div>
</template>

<script>
import { mapMutations, mapState } from "vuex";
export default {
  methods: {
    ...mapMutations(["buyli"]),
  },
};
</script>

<style></style>
